<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/27 0027
 * Time: 17:18
 */

namespace app\api\controller;


use logicmodel\NotifyLogic;

class Notify
{
    private $notifyLogic;
    public function __construct()
    {
        $this->notifyLogic = new NotifyLogic();
    }
    /**
     * 商品回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function ordersAppGoodsNotify(){
        return $this->notifyLogic->ordersAppGoodsNotify();
    }

    /**
     * 盲盒回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function ordersAppBoxNotify(){
        return $this->notifyLogic->ordersAppBoxNotify();
    }

    /**
     * 商品回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function ordersGlobalGoodsNotify(){
        return $this->notifyLogic->ordersGlobalGoodsNotify();
    }

    /**
     * 盲盒回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function ordersGlobalBoxNotify(){
        return $this->notifyLogic->ordersGlobalBoxNotify();
    }





    /**
     * 交易市场作品APP回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function goodsAppOrdersNotify(){
        return $this->notifyLogic->goodsAppOrdersNotify();
    }
    /**
     *交易市场盲盒APP回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function boxAppOrdersNotify(){
        return $this->notifyLogic->boxAppOrdersNotify();
    }

    /**
     * 交易市场作品APP回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function goodsGlobalOrdersNotify(){
        return $this->notifyLogic->goodsGlobalOrdersNotify();
    }
    /**
     *交易市场盲盒APP回调
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function boxGlobalOrdersNotify(){
        return $this->notifyLogic->boxGlobalOrdersNotify();
    }


    /**
     * 支付宝APP作品平台回调
     * @return string|\Symfony\Component\HttpFoundation\Response
     */

    public function aliOrdersAppGoodsNotify(){
        return $this->notifyLogic->aliOrdersAppGoodsNotify();
    }

    /**
     * 支付宝APP盲盒平台回调
     * @return string|\Symfony\Component\HttpFoundation\Response
     */
    public function aliOrdersAppBoxNotify(){
        return $this->notifyLogic->aliOrdersAppBoxNotify();
    }

    /**
     * 支付宝市场藏品
     * @return \Symfony\Component\HttpFoundation\Response
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function aliGoodsAppOrdersNotify(){
        return $this->notifyLogic->aliGoodsAppOrdersNotify();
    }

    /**
     * 支付宝市场盲盒
     * @return \think\response\Json
     * @throws \EasyWeChat\Kernel\Exceptions\Exception
     */
    public function aliBoxAppOrdersNotify(){
        return json($this->notifyLogic->aliBoxAppOrdersNotify());
    }

}